<?php if ( ! defined('WDK_PATH')) exit('No direct script access allowed');?>
<style>
#loginLayer				{width:350px;margin:100px auto;border:1px solid #D9D9D9;padding:20px 30px;background-color: #F7F7F7;}
#loginLayer ul			{list-style: none;margin: 0px;padding: 0px;}
#loginLayer ul li		{padding:5px 0px;height:25px;line-height: 25px;font-weight: bold;}
#loginLayer ul li label	{width:120px;float:left;}
#loginLayer ul li input	{float:left;}
#loginLayer h2			{border-top: 3px double #D9D9D9;padding-top: 20px;text-align: right;}
</style>
<div id="loginLayer">
<h1 class="title">로그인</h1>
<form name="loginForm" action="" method="POST">
	<ul>
		<li><label>아이디</label><input type="text" name="user_login_id" class="input"/></li>
		<li>
			<label>비밀번호</label>
			<input type="password" name="user_login_passwd" class="input"/>
		</li>		
	</ul>
</form>
<h2>
	<a class="btn" href="/user/join">회원가입</a>
	<a class="btn" href="/user/find">아이디/비번찾기</a>
	<a id="btn_login" class="btn" href="javascript:;">로그인</a>
</h2>
</div>
<!--{**************************************************************************}-->
<script>
(function($){
	$('#btn_login').click(function(){
		$('form[name=loginForm]').submit();
	});
	$('form[name=loginForm] :password').keypress(function(e){
		if(e.keyCode == 13)	$('#btn_login').click();
	});
})(jQuery);
</script>
<!--{**************************************************************************}-->